//
//  PubModel.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/4/20.
//  Copyright © 2017年 Logel. All rights reserved.
//

import Foundation


struct User {
    var accountId = ""
    var teacherId = ""
    var placeId = ""
    var userName = ""
    var token = ""
    var refreshToken = ""
    var driverSchoolId = ""
    var placeName = ""
    var schoolName = ""
    var name = ""
    var address = ""
    var signUpTime = ""
    var placePhone = ""
    
}


struct MobileHead {
    var code = ""
    var message = ""
}

struct FirsePage {
    
    var picture = ""
    var status = ""
    var title = ""
    var link = ""
    var id = ""
    var order1 = ""
}

struct NearBy {
    var id = ""
    var name = ""
    var sId = ""
    var address = ""
    var picture = ""
}

struct Order:CGYJSON{
    var orderType = ""
    var mobile = ""
    var name = ""
    var gender = ""
    var idCardNumber = ""
    var address = ""
    var consessionsCode = ""
}

struct PayOrder {
    var totalPrice = ""
    var signupCount = ""
    var discount = ""
    var placeName = ""
    var installmentCount = ""
    var preCount = ""
    var defaultCount = ""
    var orderIds = [String]()
    var signupNum = ""
}

struct MyCourse {
    var id = ""
    var status = ""
    var courseName = ""
    var classTime = ""
    var accountId = ""
    var courseId = ""
    var endTime = ""
    var startTime = ""
    var price = ""
    var type = ""
}

struct TeacherCourse {
    var status = ""
    var courseName = ""
    var id = ""
    var classTime = ""
    var reServNum = ""
    var endTime = ""
    var isReServ = ""
    var price = ""
    var startTime = ""
    var type = ""
}

struct MyTeacher{
    var teacherName = ""
    var teacherMobile = ""
    var teacherId = ""
    var teacherImg = ""
    var placeName = ""
    var tcList = [TeacherCourse]()
    
}

struct Reservations {
    var accountId = ""
    var note = ""
    var courseName = ""
    var createTime = ""
    var price = ""
    var startTime = ""
    var endTime = ""
    var id = ""
    var courseId = ""
    var classTime = ""
    var status = ""
}

struct Learn {
    var id = ""
    var accountId = ""
    var className = ""
    var createTime = ""
    var type = ""
}

struct MyOrder {
    var id = ""
    var orderType = ""//账单类型（ 1:全包 2:课时（报名）3:分期（报名）4:预报名（报名）5:分期（科目一）6:分期（科目二）7.预报名（科目一前）8.预报名（科目一）9:预报名（科目二）10.单课时）
    var payStatus = ""
    var payAmount = ""
    var createTime = ""
    var payMethod = ""//支付类型（0现金 1支付宝 2微信）
    var confirmdate = ""
    var confirmuser = ""
    var remark = ""
    var outTradeNo = ""//外部订单号
    var buyAccount = ""
    var courseId = ""
}

struct TeacherOne {
    var id = ""
    var name = ""
    var star = ""
    var picture = ""
    var evaluates = ""
    var level = ""
    var placeId = ""
    var placeName = ""
}

struct Question {
    var logId = ""
    var question = ""
    var answer = ""
    var options = [String]()
    var id = ""
    var pic = ""
    var classification = ""
    var explains = ""
    var type = ""
    var total = ""
    var testId = ""
}

struct MyError {
    var question = ""
    var createTime = ""
    var explains = ""
}

struct ZXModel {
    var id = ""
    var total = ""
    var createTime = ""
    var className = ""
    var classification = ""
}

struct TestRecord{
    var id = ""
    var accountId = ""
    var finishTime = ""
    var createTime = ""
    var count = ""
    var errorQuestions = ""
    
}

struct PreOrder {
    var totalPrice = ""
    var signupCount = ""
    var discount = ""
    var placeName = ""
    var installmentCount = ""
    var preCount = ""
    var defaultCount = ""
    var orderIds = [String]()
    var signupNum = ""
}
